Figure 5.1 – The application lifecycle
Click here to view a larger version in a new browser window.
Application lifecycle is a term used to describe the various phases through which an application travels from the point at which it is conceived until the point at which it is formally retired. These phases include the traditional application development phases and the Service Management phases, combined into a single lifecycle. Those phases are Requirements, Design, and Build, which constitute the application development portion of the application’s lifecycle, and Deploy, Operate, and Optimise, which constitute the Service Management portion of the application’s lifecycle.
Although the lifecycle model described seems to be linear and ‘waterfall’ based, it is perfectly suitable for use in the light of ‘modern’ system development approaches such as Rapid Application Development (RAD). See Paragraph 5.1.5 for more details.
It is important to note that merely adding features to an existing application, or using it in different ways, does not constitute creating a new application, which means that there is no new application lifecycle. In fact, the lifecycle of any application continues until it is formally ended by retirement.
It is also important to note that an application has not been retired just because it is not in widespread use any longer. An application is retired only when it no longer supports a business function and, even then, will be considered retired only if the application has been purposely removed from the IT environment, meaning that all program files have been removed from the systems involved. If that has not been done, the application still exists, will use resources, and needs to be considered when the IT environment changes.
That is a crucial point. Toward the end of the last century, thousands of work hours were spent preparing applications to make them Y2K ready, although many of the applications no longer supported business functions.
Although the IT industry has traditionally made a distinction between Application Development (creating a service) and Service Management (delivering the service), that has not always worked well. In fact, it frequently results in a disconnect between the creation of applications and the efforts to maintain them. The Application Management approach to IT sees the two as interrelated parts of a whole, which need to be aligned.
This paragraph focuses on that alignment from the Service Management perspective, with a special emphasis on the importance of dealing early in the lifecycle with those issues that can have a large impact on the effectiveness and efficiency of service delivery.
One important aspect of that overall alignment is the need to align underlying support structures. Application development environments traditionally have their own computer assisted/aided software engineering (CASE) tools that offer the means to specify requirements, draw design diagrams (according to particular modelling standards), or even generate complete applications, or nearly complete application skeletons, almost ready to be deployed. These environments also provide a central location for storing and managing all the elements that are created during application development, generally called a repository. Repository functionality includes version control and consistency checking across various models.
Integration and alignment of those application development tools was given a lot of attention, but little progress was made until the worldwide application development community accepted a de facto standard for the syntax of design models, called the unified modelling language (UML). Having a standard modelling language now allows tool vendors to focus on supporting the creation of models instead of focusing on their notation. Also, integration of tools becomes a lot easier, because the syntax used in different tools is now based on one common language, UML.
Like application development environments, Service Management support environments also provide the means to store and manage the elements that are relevant for the execution of Service Management functions. Examples of elements that are stored in such an environment are configuration and dependency specifications, release information, and problem logs. Also in the Service Management arena, initiatives are under way that should lead to standards for specifying information about an application that is required for a management tool to manage the application. Examples (see Section 5.4) include IBM’s Application Management Specification (AMS), Microsoft’s Windows Management Instrumentation (WMI), and the work from the Distributed Management Task Force (DMTF, www.dmtf.org). The standard, when applied, should provide machine-readable information about the many details that might be undocumented or difficult to locate in the documentation that can be used by management tools.
Examples of the information needed to align service creation and service delivery are:
In addition to having the information that describes the management-related characteristics of a single application, it is often necessary to define how an application relates to other applications in order to plan completely for the management of the whole application portfolio.
In short, the benefits of an aligned approach are:
The majority of readers of this book will fulfil one or more roles in the service delivery organisation. Therefore this book can help to create a great level of understanding and respect within Service Management and ICT infrastructure management staff about the issues application developers deal with when creating a service. An effective IT organisation, however, also requires application developers to have a significant level of understanding about the impact of decisions made on the delivery of services.
The implication of this is that application development and Service Management departments need to cooperate closely to ensure that every phase in the lifecycle dedicates the appropriate attention to service creation and service delivery aspects.
Best practices show that the alignment of service creation and service delivery can take a long time and has to be executed as an organisational change effort. Experience shows that it has many pitfalls.
There are a variety of perspectives on the Application Management lifecycle, but they all tend to fall into one of two camps – they either emphasise application development or they emphasise Service Management. The application development perspective distinguishes between global design and detailed design, between unit test and system test, and ends with a very general phase called maintenance. The Service Management perspective tends to start with an already developed application, ready to be installed and to be taken into operations.
What is neglected in both views of the application lifecycle is that application development and Service Management in reality have a much tighter relationship than is suggested by the respective lifecycle models.
This book focuses on the application lifecycle from both perspectives (as shown in Figure 5.1), which stresses the need for alignment between both views in every single phase. Those six phases, which combine the phases of application development and Service Management, are as follows:
This is the phase during which the requirements for a new application are gathered, based on the business needs of the organisation. It is important to note that there are three types of requirements for any application – functional requirements, non-functional requirements, and usability requirements.
Functional requirements are those specifically required to support a particular business function. Non-functional requirements, looked at from a Service Management perspective, address the need for a responsive, available and secure service, and deal with such issues as deployment, operations, system management and security. Usability requirements are those that address the needs of the End User, and result in features of the system that facilitate its ease of use.
This is the phase during which requirements are translated into feature specifications. The goal for application designs should be satisfying the organisation’s requirements. Design includes the design of the application itself, and the design of the environment, or operational model, that the application has to run on. Architectural considerations are the most important aspect of this phase, since they can impact on the structure and content of both application and operational model. Architectural considerations for the application (design of the application architecture) and architectural considerations for the operation model (design of the system architecture) are strongly related and need to be aligned.
In the build phase, both the application and the operational model are made ready for deployment. Application components are coded or acquired, integrated, and tested. Often the distinction is made between a development and test environment. The test environment allows for testing the combination of application and operational model.
In this phase, both the operational model and the application are deployed. The operational model is incorporated in the existing IT environment and the application is installed on top of the operational model, using the deployment processes described within ITIL ICT Infrastructure Management.
In the operate phase, the IT services organisation delivers the service required by the business. The performance of the service is measured continually against the Service Levels and key business drivers.
In the optimise phase, the results of the Service Level performance measurements are analysed and acted upon. Possible improvements are discussed and developments initiated if necessary. The two main strategies in this phase are to maintain and/or improve the Service Levels and to lower cost. This could lead to another iteration in the lifecycle or to justified retirement of an application.
One important thing to remember about the application lifecycle is that, because it is circular, the same application can reside in different phases of the lifecycle at the same time. For example, when the next version of an application is being designed, and the current version is deployed, the previous version might still be in operation in parts of an organisation. This obviously requires strong version, configuration and release control (see other ITIL books).
Particular phases might take longer or seem more significant than others, but they are all crucial. Every application must go through all of them at least once, and, because of the circular nature of the lifecycle, will go through some more than once.
Good communication is the key as an application works its way through the phases of the lifecycle. It is critical that high quality information is passed along by those handling the application in one phase of its existence to those handling it in the next phase. It is also important that an organisation monitors the quality of the Application Management lifecycle. Changes in the lifecycle, for example, in the way an organisation passes information between the different phases, will affect its quality. Understanding the characteristics of every phase in the Application Management lifecycle is crucial to improving the quality of the whole. Methods and tools used in one phase might have an impact on others, while optimisation of one phase might sub-optimise the whole.
The application lifecycle model described here can also be viewed as linear, and ‘waterfall’ based, and is therefore perfectly suitable for use in the light of ‘modern’ system development approaches such as Rapid Application Development (RAD). Most ‘modern’ variations on the traditional waterfall approach introduce increments and iterations in the development process.
The main reason for the introduction of increments and iterations in the development process is management of the risks associated with uncertainty and changing requirements. Still, every business function of the application needs to be understood (requirements phase), designed and built.
The use of increments implies that a system is developed piece by piece. Every piece could support one of the business functions that the entire system needs to support. Incremental delivery could result in shorter time to market for specific business functions. The development of every increment requires traversal of the entire lifecycle.
Iterative development implies that the lifecycle will be traversed more than once, by design. A development team can decide to focus first on those elements of the application that are most clear (or unclear) or are most important for the business. One can also decide to use techniques such as prototyping to get a better understanding of the requirements (by testing non-functional behaviour and through communication with business Users). After the prototype has been designed and built, the prototype is deployed in the prototype environment, carefully operated for a while, and then thrown away (retired) or extended or modified to better support the requirements.
Endless combinations of iterative and incremental approaches are possible. One can, for instance, start with the specification of requirements for the entire system, followed by the design and build of the application per increment. However, at the end, for every application increment developed, none of the lifecycle phases can be skipped.